package thread.test;

/**
 * @author cyt
 * @create 2020-03-06 8:27
 */
public class Climb {

    public static void main(String[] args) {

        Thread t1 = new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i = 0; i < 3; i++)
                    System.out.println(Thread.currentThread().getName());
            }
        }, "Thread A");

        t1.start();
    }
}
